home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Mail
/
pine3.92
/
contrib
/
carmel
/
pine
/
mailview.c.patch
< prev
next >
Wrap
Text File
|
1994-08-31
|
1KB
|
40 lines
*** mailview.c Wed Aug 17 17:19:56 1994
--- mailview.c.new Wed Aug 31 19:04:19 1994
***************
*** 132,139 ****
--- 132,147 ----
void redraw_scroll_text();
#endif
+ #ifdef BWC
+ #ifdef ANSI
+ void gf_glyph2richtext(FILTER_S *, int, int);
+ #else
+ void gf_glyph2richtext();
+ #endif
+ #endif
+
/*----------------------------------------------------------------------
Format a buffer with the text of the current message for browser
***************
*** 892,897 ****
--- 900,914 ----
filter_t aux_filter[4];
int filtcnt = 0, error_found = 0;
char *err;
+
+ #ifdef BWC
+ if(att->body->subtype != NULL &&
+ strucmp(att->body->subtype, "X-bwc-glyph") == 0) {
+ aux_filter[filtcnt++] = gf_glyph2richtext;
+ gf_enriched2plain_opt(0); /* don't strip everything! */
+ aux_filter[filtcnt++] = gf_enriched2plain;
+ }
+ #endif
if(att->body->subtype){
if(!strucmp(att->body->subtype, "richtext")) {